<template>
  <div class="main">
    <button @click="$router.push('/')">跳转首页</button>
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router';

const router = useRouter();
const back = () => {
  router.go(-1);
};
</script>
<script>
export default {
  name: 'car',
};
</script>
<style lang="scss" scoped>
.main {
  width: 100%;
  height: 100%;
  background-color: aqua;
}
</style>
